package com.gxa.p2p.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xiangzuo
 * 平台
 */
@Data
@AllArgsConstructor
@NoArgsConstructor


public class Platform implements Serializable {

  @ExcelProperty(value = "id",index = 1)
  private Long id;
  @ExcelProperty(value = "type",index = 2)
  private String type;
  @ExcelProperty(value = "outOrIn",index = 3)
  private String outOrIn;
  @ExcelProperty(value = "操作金额",index = 4)
  private Double handleMoney;
  @ExcelProperty(value = "手续费",index = 5)
  private Double poundage;
  @ExcelProperty(value = "操作前金额",index = 6)
  private Double beforeHandle;
  @ExcelProperty(value = "操作后金额",index = 7)
  private Double afterHandle;
  @ExcelProperty(value = "操作状态",index = 8)
  private Boolean state;
  @ExcelProperty(value = "备注",index = 9)
  private String remarks;
  @ExcelProperty(value = "操作时间",index = 10)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date handleTime;
  @ExcelProperty(value = "总金额",index = 11)
  private Double balance;

}
